import 'package:fish_redux/fish_redux.dart';

enum PatrolReasonViewAction {
  action,
  onSubmit,
  onTapAddPic,
  onTapPic,
}

class PatrolReasonViewActionCreator {
  static Action onAction() {
    return const Action(PatrolReasonViewAction.action);
  }

  static Action onSubmit() {
    return const Action(PatrolReasonViewAction.onSubmit);
  }

  static Action onTapAddPic() {
    return const Action(PatrolReasonViewAction.onTapAddPic);
  }

  static Action onTapPic(data) {
    return Action(PatrolReasonViewAction.onTapPic, payload: data);
  }
}
